package com.mlh.myspring.component;


import com.mlh.myspring.annotation.Component;

@Component
public class Phone implements UsbInterface {
    @Override
    public void work() {
        System.out.println("给手机充电咯");
    }

    @Override
    public void close() {
        System.out.println("手机没电关机咯");
    }
}
